

import { api, axios } from "../axios";


function createAccount(payload) {
    return api({
        url: '/users/add_one',
        method: 'post',
        data: payload
    })
    // return api.post('/users/add_one',payload)
}

function LoginAccount(payload) {
    return api.post('/users/login', payload)
}

export { createAccount, LoginAccount }